
import 'animate.css/animate.min.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'github-markdown-css'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// eslint-disable-next-line import/no-unresolved
import 'virtual:svg-icons-register'
import { createApp } from 'vue'

import SvgIcon from '@/components/svg-icon/SvgIcon.vue'


import App from './app.vue'
import './assets/css/base.less'
import { router } from './router'
import './style.css'


const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)
app.component('SvgIcon', SvgIcon)
app.use(pinia).use(router).use(ElementPlus, {
  locale: zhCn,
}).mount('#app')
